<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IupGetClassAttributes</title>

<link rel="stylesheet" type="text/css" href="../../style.css">
<style type="text/css">
.style1 {
	font-size: large;
}
.style2 {
	text-decoration: underline;
}
.style3 {
	background-color: #CEE7FF;
}
</style>
</head>
<body>

<h2>IupGetClassAttributes <span class="style1">(Since 3.0)</span></h2>
<p>Returns the names of all registered attributes of a class.</p>
<h3>
Parameters/Return</h3>
<pre>int IupGetClassAttributes(const char* <strong>classname, </strong>char**<strong> names</strong>, int <strong>max_n</strong>); [in C]
iup.GetClassAttributes(<strong>classname</strong>: <span class="style3">string</span><strong>[, max_n</strong>: number]) -&gt; (<strong>names</strong>: table<strong>, n</strong>: number) [in Lua]</pre>
<p>
  <b>classname</b>: name of the class
<b><br>
names</b>: table receiving the names. Only the list of names need to be 
	allocated. Each name will point to an internal string.<br>
<b>max_n</b>: maximum number of names the table can receive. Can be omitted in 
	Lua.</p>
<p><span class="style2">Returns:</span> the actual number of names loaded to the table 
or -1 (nil) if class not found. If names==NULL or max_n==0 then returns the 
maximum number of names.</p>
<h3>See Also</h3>
<p>
<a href="iupgetclassname.html">IupGetClassName</a>,
<a href="iupgetclasstype.html">IupGetClassType</a>,
<a href="iupgetallattributes.html">IupGetAllAttributes</a></p>

</body>

</html>
